<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #F8F9FA;
}
-->
</style>
<link href="{<$css_url>}admin/skin.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" height="29" valign="top" background="{<$image_url>}admin/mail_leftbg.gif"><img src="{<$image_url>}admin/left-top-right.gif" width="17" height="29" /></td>
    <td width="935" height="29" valign="top" background="{<$image_url>}admin/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">地区代理商</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="{<$image_url>}admin/mail_rightbg.gif"><img src="{<$image_url>}admin/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td height="71" valign="middle" background="{<$image_url>}admin/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9"><table width="100%" height="138" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="13" valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td class="left_txt">当前位置：代理商管理</td>
          </tr>
          <tr>
            <td height="20"><table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
              <tr>
                <td></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><table width="100%" height="55" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="10%" height="55" valign="middle"><img src="{<$image_url>}admin/title.gif" width="54" height="55"></td>
                <td width="90%" valign="top" class="left_txt2">地区选择：
                <form name="search_box" method="post" action="/admin_agent/agent_admin/">
                    <select id="area_id" name="area_id">
                        {<foreach from=$areas item=area_name key=area_id>}
                        <option value="{<$area_id>}"{<if $area_id == $a_id>} selected{</if>}>{<$area_name>}</option>
                        {</foreach>}
                    </select>
                    <input type="submit" value="Search" />
                </form>
                </td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td>
            <table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="nowtable">
              <tr>
                <td class="left_bt2">&nbsp;&nbsp;&nbsp;&nbsp;会员管理</td>
              </tr>
            </table>
            </td>
          </tr>
          <tr>
            <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="left_txt2">
              <tr>
                <td width="100" height="30" bgcolor="#f2f2f2">地区</td>
                <td width="100" bgcolor="#f2f2f2">用户名</td>
                <td width="60" bgcolor="#f2f2f2">姓名</td>
                <td width="80" bgcolor="#f2f2f2">email</td>
                <td width="100" bgcolor="#f2f2f2">最后登录</td>
                <td width="200" bgcolor="#f2f2f2">登录次数</td>
                <td bgcolor="#f2f2f2">操作</td>
              </tr>
			 {<foreach from=$agents item=agent key=k>}
              <tr{<if $k%2>} bgcolor="#f2f2f2"{</if>}>
                <td height="25" class="left_txt2">{<$agent.area_name>}</td>
                <td>{<$agent.agent_no>}</td>
                <td>{<$agent.agent_name>}</td>
                <td>{<$agent.agent_email>}</td>
                <td>{<$agent.last_time>}</td>
                <td>{<$agent.login_times>}</td>
                <td><a href="/admin_agent/bar_list/{<$agent.agent_no>}">网吧列表</a> | <a href="/admin_agent/order_list/{<$agent.agent_no>}">订单信息</a> | <a href="/admin_agent/agent_edit/{<$agent.agent_id>}/">修改</a> | <a href="/admin_agent/agent_del/{<$agent.agent_id>}/" onclick="return window.confirm('确定删除吗？请三思而后行哦！');">删除</a></td>
              </tr>
             {</foreach>}
             <tr>
                <td colspan="7">{<$page_html>}</td>
             </tr>
            </table>
            </td>
          </tr>
        </table>
        </td>
      </tr>
    </table></td>
    <td background="{<$image_url>}admin/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="middle" background="{<$image_url>}admin/mail_leftbg.gif"><img src="{<$image_url>}admin/buttom_left2.gif" width="17" height="17" /></td>
      <td height="17" valign="top" background="{<$image_url>}admin/buttom_bgs.gif"><img src="{<$image_url>}admin/buttom_bgs.gif" width="17" height="17" /></td>
    <td background="{<$image_url>}admin/mail_rightbg.gif"><img src="{<$image_url>}admin/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
</body>